import request from '@/utils/request'

// 查询店铺审核列表
export function listShenhe(query) {
    return request({
        url: '/dianpu/shenhe/list',
        method: 'get',
        params: query
    })
}

// 查询店铺审核详细
export function getShenhe(id) {
    return request({
        url: '/dianpu/shenhe/' + id,
        method: 'get'
    })
}

// 新增店铺审核
export function addShenhe(data) {
    return request({
        url: '/dianpu/shenhe',
        method: 'post',
        data: data
    })
}

// 修改店铺审核
export function updateShenhe(data) {
    return request({
        url: '/dianpu/shenhe',
        method: 'put',
        data: data
    })
}

// 删除店铺审核
export function delShenhe(id) {
    return request({
        url: '/dianpu/shenhe/' + id,
        method: 'delete'
    })
}
